#pragma once

ref class CRectangle
{
private:
	double _length;
	double _height;

public:
	CRectangle(void);

	property double Length
	{
		double get() { return _length; }
		void set(double len) { _length = len; }
	}

	property double Height
	{
		double get() { return _height; }
		void set(double hgt) { _height = hgt; }
	}

public:
	double Perimeter(void);
	double Area(void);
};